#include"MyCircularQueue.h"
int main()
{
	MyCircularQueue* MCQ = myCircularQueueCreate(4);
	myCircularQueueEnQueue(MCQ, 1);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueEnQueue(MCQ, 3);
	myCircularQueueEnQueue(MCQ, 4);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 2);
	myCircularQueueDeQueue(MCQ);
	myCircularQueueEnQueue(MCQ, 4);
	myCircularQueueEnQueue(MCQ, 6);
	myCircularQueueEnQueue(MCQ, 5);
	myCircularQueueEnQueue(MCQ, 7);
	myCircularQueueEnQueue(MCQ, 8);
	printf("%d\n", myCircularQueueFront(MCQ));
	printf("%d\n", myCircularQueueRear(MCQ));
	myCircularQueueFree(MCQ);
	printf("%d\n", myCircularQueueIsFull(MCQ));
	myCircularQueueEnQueue(MCQ, 1);
	return 0;
}